/**
 *  richtabbox.css
 *  Copyright (C) 2007-2011  GNUCITIZEN
 *  
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *  
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *  
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

richtabbox.native > .richtabbox-container .richtabbox-toolbox {
	-moz-box-orient: horizontal;
}

richtabbox.native > toolbar > *:first-child {
	margin-left: 5px;
}

richtabbox.native > toolbar > *:last-child {
	margin-right: 5px;
}

richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton {
	min-width: 10em;
	max-width: 20em;
	-moz-box-align: center;
}

richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image {
	list-style-image: url("images/close.plain.still.png");
}

richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image[state="hovered"] {
	list-style-image: url("images/close.plain.hovered.png");
}

richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image[state="clicked"] {
	list-style-image: url("images/close.plain.pressed.png");
}

richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton > label {
	padding-left: 18px;
	padding-right: 18px;
}

richtabbox.native > .richtabbox-container .richtabpanels-arrowscrollbox > .autorepeatbutton-up[orient="horizontal"] {
	padding: 0px;
	list-style-image: url("chrome://global/skin/arrow/arrow-lft-sharp.gif");
}

richtabbox.native > .richtabbox-container .richtabpanels-arrowscrollbox > .autorepeatbutton-down[orient="horizontal"] {
	padding: 0px;
	list-style-image: url("chrome://global/skin/arrow/arrow-rit-sharp.gif");
}

richtabbox.native > .richtabbox-container .richtabpanels-selectbutton > image ,
richtabbox.native > .richtabbox-container .richtabpanels-selectbutton > label {
	display: none;
}

:root[lookandfeel="mac"] richtabbox.native > toolbar                                      ,
:root[lookandfeel="mac"] richtabbox.native > .richtabbox-container .richtabpanels-toolbar {
	padding-top: 2px;
	-moz-appearance: none;
	background: -moz-linear-gradient(#797979, #8a8a8a);
}

:root[lookandfeel="mac"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton {
	border: 0px;
	-moz-appearance: none;
	border-radius: 2px 2px 0px 0px;
}

:root[lookandfeel="mac"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[checked="true"] {
	background: -moz-mac-chrome-inactive;
}

:root[lookandfeel="mac"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton:not([checked="true"]) {
	background: -moz-mac-chrome-active;
}

:root[lookandfeel="mac"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image {
	margin-left: 4px;
	margin-right: -18px;
}

:root[lookandfeel="mac"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image {
	list-style-image: url("images/close.mac.active.still.png");
}

:root[lookandfeel="mac"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image[state="hovered"] {
	list-style-image: url("images/close.mac.active.hovered.png");
}

:root[lookandfeel="mac"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image[state="clicked"] {
	list-style-image: url("images/close.mac.active.pressed.png");
}

:root[lookandfeel="mac"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"]:not([checked="true"]) > image {
	list-style-image: url("images/close.mac.inactive.still.png");
}

:root[lookandfeel="mac"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"]:not([checked="true"]) > image[state="hovered"] {
	list-style-image: url("images/close.mac.inactive.hovered.png");
}

:root[lookandfeel="mac"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"]:not([checked="true"]) > image[state="clicked"] {
	list-style-image: url("images/close.mac.inactive.pressed.png");
}

:root[lookandfeel="lin"] richtabbox.native > toolbar                                      ,
:root[lookandfeel="lin"] richtabbox.native > .richtabbox-container .richtabpanels-toolbar {
	-moz-appearance: none;
	box-shadow: inset 0px -1px 0px ButtonFace;
}

:root[lookandfeel="lin"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton {
	margin-right: 1px;
	-moz-appearance: tab;
	-moz-box-direction: reverse;
}

:root[lookandfeel="lin"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image {
	margin-left: -14px;
}

:root[lookandfeel="lin"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image {
	border-radius: 4px;
	border: 1px solid transparent;
	list-style-image: url("moz-icon://stock/gtk-close?size=menu");
}

:root[lookandfeel="lin"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image[state="hovered"] {
	border-color: ThreeDShadow;
	background-color: ButtonFace;
	list-style-image: url("moz-icon://stock/gtk-close?size=menu");
}

:root[lookandfeel="lin"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image[state="clicked"] {
	border-color: ThreeDShadow;
	background-color: ButtonShadow;
	list-style-image: url("moz-icon://stock/gtk-close?size=menu");
}

:root[lookandfeel="lin"] richtabbox.native > .richtabbox-container .richtabpanels-selectbutton {
	width: 18px;
}

:root[lookandfeel="win"] richtabbox.native > .richtabbox-container .richtabbox-toolbox {
	border: 0px;
	-moz-appearance: none;
	background: transparent;
	box-shadow: inset 0px -1px 0px ThreeDHighlight;
}

:root[lookandfeel="win"] richtabbox.native > toolbar                                      ,
:root[lookandfeel="win"] richtabbox.native > .richtabbox-container .richtabpanels-toolbar {
	border: 0px;
	padding-top: 2px;
	padding-bottom: 2px;
	-moz-appearance: none;
}

:root[lookandfeel="win"] richtabbox.native > .richtabbox-container .richtabpanels-toolbar {
	margin-bottom: -2px;
}

:root[lookandfeel="win"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton {
	-moz-appearance: tab;
	-moz-box-direction: reverse;
}

:root[lookandfeel="win"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image {
	margin-left: -14px;
}

:root[lookandfeel="win"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image {
	list-style-image: url("images/close.clasic.still.png");
}

:root[lookandfeel="win"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image[state="hovered"] {
	list-style-image: url("images/close.clasic.hovered.png");
}

:root[lookandfeel="win"] richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image[state="clicked"] {
	list-style-image: url("images/close.clasic.pressed.png");
}

:root[lookandfeel="win"] richtabbox.native > .richtabbox-container .richtabpanels-selectbutton {
	width: 15px;
}

:root[lookandfeel="win"]:-moz-system-metric(windows-default-theme) richtabbox.native > .richtabbox-container .richtabbox-toolbox {
	box-shadow: inset 0px -1px 0px ThreeDShadow;
}

:root[lookandfeel="win"]:-moz-system-metric(windows-default-theme) richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton:not([checked="true"]) {
	box-shadow: inset 0px -1px 0px ThreeDShadow;
}

:root[lookandfeel="win"]:-moz-system-metric(windows-default-theme) richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image {
	list-style-image: url("images/close.gloss.still.png");
}

:root[lookandfeel="win"]:-moz-system-metric(windows-default-theme) richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image[state="hovered"] {
	list-style-image: url("images/close.gloss.hovered.png");
}

:root[lookandfeel="win"]:-moz-system-metric(windows-default-theme) richtabbox.native > .richtabbox-container .richtabpanel-toolbarbutton[closable="true"] > image[state="clicked"] {
	list-style-image: url("images/close.gloss.pressed.png");
}

/*  GNUCITIZEN (Information Security Think Tank)
 **********************************************/